package com.example.demo.service;

import com.example.demo.dto.RoleDto;
import com.example.demo.entity.Role;
import com.example.demo.vo.RoleMenuParams;

import java.text.ParseException;
import java.util.List;

public interface RoleService {
    List<RoleDto> selectRole();
    int deleteRoleById(String id);
    int insertRole(RoleDto roleDto) throws ParseException;
    List<RoleDto> likeRole(String key);
    int updateRoleMenu(RoleMenuParams roleMenuParams);
    int updateRoleInfo(Role role);
    int addRole(Role role);
}
